package com.my.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.my.bean.OrderVip;
import com.my.bean.Production;
import org.apache.ibatis.annotations.Param;

import javax.crypto.spec.OAEPParameterSpec;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 会员档案资料存储（订单） Mapper 接口
 * </p>
 *
 * @author 冯政尚
 * @since 2018-08-24
 */
public interface OrderVipMapper extends BaseMapper<OrderVip> {


    //实现分页查询
    List<OrderVip> selectMyPage(@Param("param") Map map1,@Param("map") Map map,@Param("areaid")long areaid,@Param("admin")boolean admin);
    int countMyPage(@Param("param") Map map1, @Param("map") Map map,@Param("areaid")long areaid,@Param("admin")boolean admin);





    //修改 点击成功修啊该i该订单已经成功 状态
    List<OrderVip> selectOrderVipById(Long id);
    int updateOrderState(@Param("id") Long id);



}